<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宠物领养 - 爱宠之家</title>
    <link rel="stylesheet" href="../../plugins/bootstrap/css/bootstrap.css">
    <!-- Custom CSS -->
    <link href="styles.css" rel="stylesheet">
</head>

<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-inverse" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#example-navbar-collapse">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">爱宠之家</a>
            </div>
            <div class="collapse navbar-collapse" id="example-navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li class="nav-item">
                        <a class="nav-link" href="adoption.html">宠物领养</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../cats/cats.html">猫咪选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../small-dogs/small-dogs.html">小型犬选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../large-dogs/large-dogs.html">大型犬选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../food/food.html">宠物用品</a>
                    </li>
                    <!-- <li class="nav-item ms-2">
                        <a class="btn btn-primary" href="../user/login.html">登录/注册</a>
                    </li> -->
                    <!-- <li class="nav-item ms-2">
                        <form class="d-flex">
                            <input class="form-control me-2" type="search" placeholder="搜索宠物或用品">
                            <button class="btn btn-outline-primary" type="submit">搜索</button>
                        </form>
                    </li> -->
                </ul>
            </div>
        </div>
    </nav>

    <!-- 页面标题 -->
    <div class="page-header">
        <div class="container">
            <h1>宠物领养</h1>
            <p class="lead">每一次领养都是一份责任，让我们一起为流浪动物提供一个温暖的家</p>
        </div>
    </div>

    <!-- 筛选区域 -->
    <div class="container mt-4">
        <div class="filter-section">
            <div class="row g-3">
                <div class="col-md-3">
                    <select class="form-select">
                        <option selected>宠物类型</option>
                        <option>猫咪</option>
                        <option>狗狗</option>
                        <option>其他宠物</option>
                    </select>
                </div>
                <div class="col-md-3">
                    <select class="form-select">
                        <option selected>年龄</option>
                        <option>幼年(1岁以下)</option>
                        <option>成年(1-7岁)</option>
                        <option>老年(7岁以上)</option>
                    </select>
                </div>
                <div class="col-md-3">
                    <select class="form-select">
                        <option selected>性别</option>
                        <option>公</option>
                        <option>母</option>
                    </select>
                </div>
                <div class="col-md-3">
                    <select class="form-select">
                        <option selected>所在地区</option>
                        <option>北京市</option>
                        <option>上海市</option>
                        <option>广州市</option>
                        <option>深圳市</option>
                    </select>
                </div>
            </div>
        </div>
    </div>

    <!-- 宠物列表 -->
    <div class="container mt-4">
        <div class="row g-4">
            <!-- 宠物卡片 -->
            <div class="col-md-3 col-6">
                <div class="card pet-card">
                    <div class="pet-tag">待领养</div>
                    <img src="../../imgs/ad1.webp" height="300" width="300" class="card-img-top" alt="橘猫">
                    <div class="card-body">
                        <h5 class="card-title">小橘 | 橘猫</h5>
                        <p class="card-text">2岁 | 已绝育 | 亲人可爱</p>
                        <div class="location"><i class="bi bi-geo-alt"></i> 北京市朝阳区</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#adoptionModal">申请领养</button>
                    </div>
                </div>
            </div>
            <!-- 更多宠物卡片 -->
            <div class="col-md-3 col-6">
                <div class="card pet-card">
                    <div class="pet-tag">待领养</div>
                    <img src="../../imgs/ad2.webp" height="300" width="300" class="card-img-top" alt="柯基">
                    <div class="card-body">
                        <h5 class="card-title">可可 | 柯基</h5>
                        <p class="card-text">1岁 | 已绝育 | 活泼开朗</p>
                        <div class="location"><i class="bi bi-geo-alt"></i> 上海市浦东新区</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#adoptionModal">申请领养</button>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-6">
                <div class="card pet-card">
                    <div class="pet-tag">待领养</div>
                    <img src="../../imgs/ad3.webp" height="300" width="300" class="card-img-top" alt="英短">
                    <div class="card-body">
                        <h5 class="card-title">灰灰 | 英短</h5>
                        <p class="card-text">3岁 | 已绝育 | 温顺</p>
                        <div class="location"><i class="bi bi-geo-alt"></i> 广州市天河区</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#adoptionModal">申请领养</button>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-6">
                <div class="card pet-card">
                    <div class="pet-tag">待领养</div>
                    <img src="../../imgs/ad4.webp" height="300" width="300" class="card-img-top" alt="金毛">
                    <div class="card-body">
                        <h5 class="card-title">阳阳 | 金毛</h5>
                        <p class="card-text">2岁 | 已绝育 | 亲人</p>
                        <div class="location"><i class="bi bi-geo-alt"></i> 深圳市南山区</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#adoptionModal">申请领养</button>
                    </div>
                </div>
            </div>
        </div>

        <!-- 分页 -->
        <nav class="mt-5">
            <ul class="pagination justify-content-center">
                <li class="page-item disabled">
                    <a class="page-link" href="#" tabindex="-1">上一页</a>
                </li>
                <li class="page-item active"><a class="page-link" href="#">1</a></li>
                <li class="page-item"><a class="page-link" href="#">2</a></li>
                <li class="page-item"><a class="page-link" href="#">3</a></li>
                <li class="page-item">
                    <a class="page-link" href="#">下一页</a>
                </li>
            </ul>
        </nav>
    </div>

    <!-- 领养申请模态框 -->
    <div class="modal fade" id="adoptionModal" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">领养申请</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="mb-3">
                            <label class="form-label">姓名</label>
                            <input type="text" class="form-control" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">联系电话</label>
                            <input type="tel" class="form-control" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">居住地址</label>
                            <input type="text" class="form-control" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">家庭情况</label>
                            <textarea class="form-control" rows="3" placeholder="请描述您的家庭情况，包括住房条件、家庭成员等"></textarea>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">领养经验</label>
                            <textarea class="form-control" rows="3" placeholder="请描述您是否有养宠物的经验"></textarea>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary">提交申请</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <!-- <footer class="mt-5 py-4">
        <div class="container">
            <div class="row">
                <div class="col-md-3">
                    <h5>关于我们</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">平台介绍</a></li>
                        <li><a href="#">领养须知</a></li>
                        <li><a href="#">联系我们</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>服务支持</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">领养流程</a></li>
                        <li><a href="#">宠物寄养</a></li>
                        <li><a href="#">宠物医疗</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>帮助中心</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">服务条款</a></li>
                        <li><a href="#">隐私政策</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>关注我们</h5>
                    <ul class="list-unstyled">
                        <li><a href="#"><i class="bi bi-wechat me-2"></i>官方微信</a></li>
                        <li><a href="#"><i class="bi bi-weibo me-2"></i>新浪微博</a></li>
                        <li><a href="#"><i class="bi bi-telephone me-2"></i>400-888-9999</a></li>
                    </ul>
                </div>
            </div>
            <hr>
            <div class="text-center">
                <p class="mb-0">Copyright © 2024 爱宠之家 All Rights Reserved</p>
            </div>
        </div>
    </footer> -->

    <!-- Bootstrap JS -->
    <script src="../../plugins/jquery/jquery.min.js"></script>
    <script src="../../plugins/bootstrap/js/bootstrap.js"></script>
</body>

</html>